package com.wwt.mondodb.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment implements Serializable {
    @Id
    private String _id;
    private String articleId;
    private String content;
    private String userId;
    private String nickname;
    private String createDateTime;
    private Integer likenum;
    private Integer replunum;
    private String state;
    private String paretid;
}
